﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PersonalBaseInfo.ascx.cs"
    Inherits="Job.Web.userControls.Personal.PersonalBaseInfo" %>
<%@ Register Assembly="Job.Web" Namespace="Job.Web.RelatedDrowDownList" TagPrefix="cc1" %>

<script type="text/javascript">
    $(document).ready(function() {
    $.formValidator.initConfig({ formid: "aspnetForm", onerror: function(msg) { alert('校验没有通过，具体错误请看错误提示') } });
    $("#ctl00_maincontent_ctl00_txtName").formValidator({ onshow: " ", onfocus: " ", oncorrect: " " }).inputValidator({ min: 2, max: 20, onerror: "<img alt='请输入用户名' src='/Images/no_com.gif' width=15 height=15 />" })
    $("#ctl00_maincontent_ctl00_txtWorkLen").formValidator({ onshow: " ", onfocus: " ", oncorrect: " " }).inputValidator({ min: 0, max: 99, type: "value", onerror: "<img alt='请输入工作年限(数字)' src='/Images/no_com.gif' width=15 height=15 />" }); //.defaultPassed();
    $("#ctl00_maincontent_ctl00_txtMobile").formValidator({ onshow: " ", onfocus: " ", oncorrect: " " }).inputValidator({ min: 6, max: 30,  onerror: "<img alt='请输入电话号码' src='/Images/no_com.gif' width=15 height=15 />" }); //.defaultPassed();
    $("#ctl00_maincontent_ctl00_txtEmail").formValidator({ onshow: " ", onfocus: " ", oncorrect: " " }).inputValidator({ min: 6, max: 30, onerror: "<img alt='请输入正确的EMAIL地址' src='/Images/no_com.gif' width=15 height=15 />" }).regexValidator({ regexp: "^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$", onerror: "<img alt='请输入合法的EMAIL地址' src='/Images/no_com.gif' width=15 height=15 />" });
    $("#ctl00_maincontent_ctl00_txtCardId").formValidator({ onshow: "", onfocus: "", oncorrect: "" }).functionValidator({ fun: isCardID });
    }
);
</script>

<table border="1px" bordercolor="#d8e1e7" style="border-style: solid; border-collapse: collapse"
    width="750" class="ResumeBaseTable" align="center">
    <tbody>
        <tr>
            <td colspan="4" class="title_1">
                基本个人信息( <font color="#ec0000">*</font> 为必填项)
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD" colspan="4" id="message" runat="server">
                &nbsp
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                姓名<span><font color="red">*</font> </span>&nbsp;
            </td>
            <td width="180" class="ResumeTD">
                <asp:TextBox ID="txtName" runat="server" CssClass="TextBox" MaxLength="10"></asp:TextBox><span  id="ctl00_maincontent_ctl00_txtNameTip">
                </span>
            </td>
            <td class="ResumeLabelTD">
                性别<span><font color="red">*</font></span>
            </td>
            <td width="180" class="ResumeTD">
                <asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
                    <asp:ListItem Value="2">女</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                婚姻状况<font color="red"></font>&nbsp;
            </td>
            <td class="ResumeTD">
                <asp:DropDownList ID="ddlMarried" runat="server" Width="100px">
                </asp:DropDownList>
            </td>
            <td class="ResumeLabelTD">
                民族<font color="red"></font>
            </td>
            <td class="ResumeTD">
                <asp:DropDownList ID="ddlNation" runat="server" Width="167px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                出生日期<font color="red">*</font>
            </td>
            <td colspan="3" class="ResumeTD">
                <asp:DropDownList ID="ddlBornYear" runat="server" Width="69px">
                </asp:DropDownList>
                年&nbsp;
                <asp:DropDownList ID="ddlBornMonth" runat="server" Width="50px">
                </asp:DropDownList>
                月&nbsp;
                <asp:DropDownList ID="ddlBornDay" runat="server" Width="50px">
                </asp:DropDownList>
                日
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                身份证号<span><font color="red">*</font></span>
            </td>
            <td colspan="3" valign="top" class="ResumeTD">
                <asp:TextBox ID="txtCardId" runat="server" Width="286px" CssClass="TextBox" 
                    MaxLength="18"></asp:TextBox><span  id="ctl00_maincontent_ctl00_txtCardIdTip"></span>
                <asp:CheckBox ID="chkHideId" runat="server" Text="是否隐藏身份证" Visible="False" />
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                最高学历
            </td>
            <td width="133" class="ResumeTD">
                <asp:DropDownList ID="ddlHighEdu" runat="server" Width="150px">
                </asp:DropDownList>
            </td>
            <td width="121" class="ResumeLabelTD">
                身高
            </td>
            <td width="83" class="ResumeTD">
                <asp:TextBox ID="txtTall" runat="server" Width="48px" CssClass="TextBox"></asp:TextBox>
                &nbsp;cm
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                毕业院校
            </td>
            <td colspan="3" class="ResumeTD">
                <asp:TextBox ID="txtScool" runat="server" Width="289px" CssClass="TextBox" 
                    MaxLength="50"></asp:TextBox>
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                专业1
            </td>
            <td colspan="3" class="ResumeTD">
                <asp:DropDownList ID="ddlSpec1" runat="server" Width="250px">
                </asp:DropDownList>
                <asp:DropDownList ID="ddlSpec11" runat="server" Width="250px">
                </asp:DropDownList>
                <cc1:RelatedList ID="RelatedListSpec1" runat="server">
                </cc1:RelatedList>
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                专业2
            </td>
            <td colspan="3" class="ResumeTD">
                <asp:DropDownList ID="ddlSpec2" runat="server" Width="250px">
                </asp:DropDownList>
                <asp:DropDownList ID="ddlSpec22" runat="server" Width="250px">
                </asp:DropDownList>
                <cc1:RelatedList ID="RelatedListSpec2" runat="server">
                </cc1:RelatedList>
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                职称
            </td>
            <td width="133" class="ResumeTD">
                <asp:DropDownList ID="ddlTechTitle" runat="server" Width="90px">
                </asp:DropDownList>
            </td>
            <td width="121" class="ResumeLabelTD">
                执业资格
            </td>
            <td width="83" class="ResumeTD">
                <asp:TextBox ID="txtworkq" runat="server" Width="171px" CssClass="TextBox" 
                    MaxLength="50"></asp:TextBox>
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                工作年限
            </td>
            <td width="133" class="ResumeTD">
                <asp:TextBox ID="txtWorkLen" runat="server" Width="80px" CssClass="TextBox"></asp:TextBox><span id="ctl00_maincontent_ctl00_txtWorkLenTip"></span>
            </td>
            <td width="121" class="ResumeLabelTD">
                毕业时间
            </td>
            <td class="ResumeTD">
                <asp:DropDownList ID="ddlGradYear" runat="server" Width="61px">
                </asp:DropDownList>
                年
                <asp:DropDownList ID="ddlGradMonth" runat="server" Width="53px">
                </asp:DropDownList>
                月
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeLabelTD">
                计算机水平
            </td>
            <td width="133" class="ResumeTD">
                <asp:DropDownList ID="ddlComputerLevel" runat="server" Width="90px">
                </asp:DropDownList>
            </td>
            <td width="121" class="ResumeLabelTD">
                工作状态
            </td>
            <td width="83" class="ResumeTD">
                <asp:DropDownList ID="ddlWrkStatus" runat="server" Width="101px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="left" class="ResumeLabelTD">
                户口所在地<span class="f2"><font color="#ff7300"></font> </span>
            </td>
            <td colspan="3" align="left" class="ResumeTD">
                <asp:DropDownList ID="ddlHomeAddress1" runat="server" Width="250px">
                </asp:DropDownList>
                <asp:DropDownList ID="ddlHomeAddress2" runat="server" Width="250px">
                </asp:DropDownList>
                <cc1:RelatedList ID="HomeAddressRlist" runat="server">
                </cc1:RelatedList>
            </td>
        </tr>
        <tr>
            <td align="left" class="ResumeLabelTD">
                居住地<span class="f2"><font color="#ff7300"></font></span>
            </td>
            <td colspan="3" align="left" class="ResumeTD">
                <asp:DropDownList ID="ddlResideAddress1" runat="server" Width="250px">
                </asp:DropDownList>
                <asp:DropDownList ID="ddlResideAddress2" runat="server" Width="250px">
                </asp:DropDownList>
                <cc1:RelatedList ID="ResideAddressRList" runat="server">
                </cc1:RelatedList>
            </td>
        </tr>
        <tr>
            <td valign="middle" colspan="4" class="title_1">
                语言能力
            </td>
        </tr>
        <tr>
            <td align="left" class="ResumeLabelTD">
                外语种类<span class="f2"><font color="#ff7300"></font></span>
            </td>
            <td width="133" class="ResumeTD">
                <asp:DropDownList ID="ddlLanguagetype" runat="server" Width="100px">
                </asp:DropDownList>
            </td>
            <td width="121" class="ResumeLabelTD">
                外语熟练程度
            </td>
            <td class="ResumeTD">
                <asp:DropDownList ID="dlllanguageSkill" runat="server" Width="100px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="left" class="ResumeLabelTD">
                外语证书<span class="f2"><font color="#ff7300"></font></span>
            </td>
            <td align="left" class="ResumeTD">
                <asp:DropDownList ID="ddllanBook" runat="server" Width="100px">
                </asp:DropDownList>
            </td>
            <td width="121" class="ResumeLabelTD">
                粤语水平
            </td>
            <td class="ResumeTD">
                <asp:DropDownList ID="ddlLanYueSKill" runat="server" Width="100px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr style="display:none">
            <td align="left" class="ResumeLabelTD">
                其它证书<span class="f2"><font color="#ff7300"></font></span>
            </td>
            <td align="left" colspan="3" class="ResumeTD">
                <asp:TextBox ID="txtother" runat="server" Width="393px" CssClass="TextBox" 
                    MaxLength="100"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td valign="middle" colspan="4" class="title_1">
                保密设置
            </td>
        </tr>
        <tr>
            <td class="ResumeLabelTD" align="left">
                保密设置
            </td>
            <td align="left" colspan="3" class="ResumeTD">
                <asp:RadioButtonList ID="rblSecurity" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True" Value="0">完全公开</asp:ListItem>
                    <asp:ListItem Value="1">隐藏简历</asp:ListItem>
                    <asp:ListItem Value="2">隐藏电话</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="ResumeLabelTD" align="left">
                公司回避
            </td>
            <td align="left" colspan="3" class="ResumeTD">
                <asp:TextBox ID="txtSkipCompany" runat="server" Width="400px" 
                    CssClass="TextBox" MaxLength="50"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td valign="middle" colspan="4" class="title_1">
                联系方式
            </td>
        </tr>
        <tr>
            <td class="ResumeLabelTD" align="left">
                电话
            </td>
            <td align="left" colspan="3" class="ResumeTD">
                <asp:TextBox ID="txtPhone" runat="server" Width="250px" CssClass="TextBox" 
                    MaxLength="15"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="ResumeLabelTD" align="left">
                手机<span class="f2"><font color="#ff7300">*</font></span>
            </td>
            <td class="ResumeTD" align="left" colspan="3">
                <asp:TextBox ID="txtMobile" runat="server" Width="250px" CssClass="TextBox" 
                    MaxLength="15"></asp:TextBox>
                <span id="ctl00_maincontent_ctl00_txtMobileTip"></span>
            </td>
        </tr>
        <tr>
            <td class="ResumeLabelTD" align="left">
                QQ/MSN
            </td>
            <td class="ResumeTD" align="left" colspan="3">
                <asp:TextBox ID="txtqq" runat="server" Width="250px" CssClass="TextBox" 
                    MaxLength="15"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="ResumeLabelTD" align="left">
                Email<span class="f2"><font color="#ff7300">*</font></span>
            </td>
            <td class="ResumeTD" align="left" colspan="3">
                <asp:TextBox ID="txtEmail" runat="server" Width="250px" CssClass="TextBox" 
                    MaxLength="30"></asp:TextBox>
                <span id="ctl00_maincontent_ctl00_txtEmailTip"></span>
            </td>
        </tr>
        <tr>
            <td class="ResumeLabelTD" align="left">
                通讯地址
            </td>
            <td class="ResumeTD" align="left" colspan="3">
                <asp:TextBox ID="txtAddress" runat="server" Width="250px" CssClass="TextBox" 
                    MaxLength="100"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="ResumeLabelTD" align="left">
                邮编
            </td>
            <td class="ResumeTD" align="left" colspan="3">
                <asp:TextBox ID="txtPostCode" runat="server" Width="77px" CssClass="TextBox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="ResumeLabelTD" align="left">
                个人主页
            </td>
            <td class="ResumeTD" align="left" colspan="3">
                <asp:TextBox ID="txtIndex" runat="server" Width="250px" CssClass="TextBox" 
                    MaxLength="50"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="4">
            </td>
        </tr>
        <tr>
            <td align="center" colspan="4" class="ResumeTD">
                <asp:Button ID="btnSave" runat="server" Text=" 保存基本资料 " CssClass="btn_2k3" OnClick="btnSave_Click" />
            </td>
        </tr>
    </tbody>
</table>